package cn.kgc.pojo;


import com.alibaba.fastjson.annotation.JSONField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class EmployeeInf {

  private long id;
  private long deptId;
  private long jobId;
  private String name;
  private String cardId;
  private String address;
  private String postCode;
  private String tel;
  private String phone;
  private String qqNum;
  private String email;
  private long sex;
  private String party;
  @JSONField(format = "yyyy-MM-dd")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private Date birthday;
  private String race;
  private String education;
  private String speciality;
  private String hobby;
  private String remark;
  private Date CREATEDATE;
  private String jobName;
  private String deptName;

}
